// components/course-card/course-card.js
Component({
  properties: {
    course: {
      type: Object,
      value: {}
    },
    showPrice: {
      type: Boolean,
      value: true
    }
  },
  methods: {
    handleTap() {
      this.triggerEvent('tap', { id: this.data.course.id })
    }
  }
})
